﻿@model WebContribContrib.Formatting.Jsonp.SampleWebHost.Models.KPI

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>KPI</legend>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Category)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Category)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.Name)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Name)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.CurrentValue)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.CurrentValue)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LastValue)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastValue)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LowRange)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LowRange)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.HighRange)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.HighRange)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.LowWarning)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LowWarning)
    </div>

    <div class="display-label">
         @Html.DisplayNameFor(model => model.HighWarning)
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.HighWarning)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
